home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Official HTML Publishing…scape (Macintosh Edition)
/
Official HTML Publishing for Netscape - Macintosh Edition.iso
/
Mac 68K Launch Me
/
Mac 68K Launch Me.rsrc
/
CODE_42_CPAL.txt
< prev
next >
Wrap
Text File
|
1996-08-14
|
7KB
|
132 lines
# near model CODE resource
# jump table entries: 55408-55409 (2 of them)
00000000 FFFF .extension 0xFFF // unimplemented
00000002 D870 0000 add.w D4, [A0 + D0.w]
00000006 012E 48E7 btst [A6 + 0x48E7], D0
// begin alternate branch 00000008-00000016
fn00000008:
00000008 48E7 1830 movem.l -[A7], D3,D4,A2,A3
0000000C 246F 0014 movea.l A2, [A7 + 0x14]
00000010 362F 0018 move.w D3, [A7 + 0x18]
00000014 4A43 tst.w D3
// end alternate branch 00000008-00000016
fn00000008: // (misaligned)
0000000A 1830 246F move.b D4, [A0 + D2.w * 4 + 0x6F]
0000000E 0014 362F ori.b [A4], 0x2F /* '/' */
00000012 0018 4A43 ori.b [A0]+, 0x43 /* 'C' */
00000016 6626 bne +0x28 /* 0000003E */
00000018 2052 movea.l A0, [A2]
0000001A 2050 movea.l A0, [A0]
0000001C 0C68 0003 0006 cmpi.w [A0 + 0x6], 0x3
00000022 6E04 bgt +0x6 /* 00000028 */
00000024 7803 moveq.l D4, 0x03
00000026 602E bra +0x30 /* 00000056 */
label00000028:
00000028 2052 movea.l A0, [A2]
0000002A 2050 movea.l A0, [A0]
0000002C 0C68 000F 0006 cmpi.w [A0 + 0x6], 0xF
00000032 6E04 bgt +0x6 /* 00000038 */
00000034 780F moveq.l D4, 0x0F
00000036 601E bra +0x20 /* 00000056 */
label00000038:
00000038 383C 00FF move.w D4, 0xFF
0000003C 6018 bra +0x1A /* 00000056 */
label0000003E:
0000003E 0C43 0002 cmpi.w D3, 0x2
00000042 6604 bne +0x6 /* 00000048 */
00000044 7803 moveq.l D4, 0x03
00000046 600E bra +0x10 /* 00000056 */
label00000048:
00000048 0C43 0004 cmpi.w D3, 0x4
0000004C 6604 bne +0x6 /* 00000052 */
0000004E 780F moveq.l D4, 0x0F
00000050 6004 bra +0x6 /* 00000056 */
label00000052:
00000052 383C 00FF move.w D4, 0xFF
label00000056:
00000056 2052 movea.l A0, [A2]
00000058 2050 movea.l A0, [A0]
0000005A B868 0006 cmp.w D4, [A0 + 0x6]
0000005E 675E beq +0x60 /* 000000BE */
00000060 3604 move.w D3, D4
00000062 48C3 ext.l D3
00000064 E78B lsl D3, 3
00000066 7210 moveq.l D1, 0x10
00000068 D681 add.l D3, D1
0000006A 3043 movea.w A0, D3
0000006C 2F08 move.l -[A7], A0
0000006E 2F0A move.l -[A7], A2
00000070 4EAD C270 jsr [A5 - 0x3D90]
00000074 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000078 301F move.w D0, [A7]+
0000007A 4A40 tst.w D0
0000007C 5C4F addq.w A7, 6
0000007E 670E beq +0x10 /* 0000008E */
00000080 554F subq.w A7, 2
00000082 3EB8 0220 move.w [A7], [0x00000220 /* MemErr */]
00000086 301F move.w D0, [A7]+
00000088 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
0000008C 4E75 rts
label0000008E:
0000008E 2052 movea.l A0, [A2]
00000090 2650 movea.l A3, [A0]
00000092 362B 0006 move.w D3, [A3 + 0x6]
00000096 48C3 ext.l D3
00000098 5283 addq.l D3, 1
0000009A 601A bra +0x1C /* 000000B6 */
label0000009C:
0000009C 3443 movea.w A2, D3
0000009E 200A move.l D0, A2
000000A0 E788 lsl D0, 3
000000A2 244B movea.l A2, A3
000000A4 D5C0 add.l A2, D0
000000A6 508A addq.l A2, 8
000000A8 426A 0002 clr.w [A2 + 0x2]
000000AC 426A 0004 clr.w [A2 + 0x4]
000000B0 426A 0006 clr.w [A2 + 0x6]
000000B4 5243 addq.w D3, 1
label000000B6:
000000B6 B644 cmp.w D3, D4
000000B8 6FE2 ble -0x1C /* 0000009C */
000000BA 3744 0006 move.w [A3 + 0x6], D4
label000000BE:
000000BE 7000 moveq.l D0, 0x00
000000C0 4CDF 0C18 movem.l D3,D4,A2,A3, [A7]+
000000C4 4E75 rts
000000C6 514F subq.w A7, 8
000000C8 3F2F 0010 move.w -[A7], [A7 + 0x10]
000000CC 486F 0006 pea.l [A7 + 0x6]
000000D0 4EAD B9F8 jsr [A5 - 0x4608]
000000D4 2F6F 000A 0006 move.l [A7 + 0x6], [A7 + 0xA]
000000DA 4A6F 000C tst.w [A7 + 0xC]
000000DE 5C4F addq.w A7, 6
000000E0 673E beq +0x40 /* 00000120 */
000000E2 4267 clr.w -[A7]
000000E4 486F 0014 pea.l [A7 + 0x14]
000000E8 4EBA FF1E jsr [PC - 0xE2 /* 00000008 */]
000000EC 4A40 tst.w D0
000000EE 5C4F addq.w A7, 6
000000F0 6710 beq +0x12 /* 00000102 */
000000F2 3F2F 0010 move.w -[A7], [A7 + 0x10]
000000F6 486F 0002 pea.l [A7 + 0x2]
000000FA 4EAD B560 jsr [A5 - 0x4AA0]
000000FE 5C4F addq.w A7, 6
00000100 601E bra +0x20 /* 00000120 */
label00000102:
00000102 42A7 clr.l -[A7]
00000104 2F2F 001A move.l -[A7], [A7 + 0x1A]
00000108 2F2F 001A move.l -[A7], [A7 + 0x1A]
0000010C 3F3C 000E move.w -[A7], 0xE
00000110 2F2F 0012 move.l -[A7], [A7 + 0x12]
00000114 3F3C 0004 move.w -[A7], 0x4
00000118 4EAD B3A8 jsr [A5 - 0x4C58]
0000011C 4FEF 0014 lea.l A7, [A7 + 0x14]
label00000120:
00000120 206F 000C movea.l A0, [A7 + 0xC]
00000124 2097 move.l [A0], [A7]
00000126 504F addq.w A7, 8
00000128 4E75 rts
0000012A 0000 0000 ori.b D0, 0x0
0000012E 0000 0000 ori.b D0, 0x0
00000132 0000 0000 ori.b D0, 0x0